package cn;

public class Calc {
	@MyAno(before = "before")
	public int add(int a, int b) {
		return a + b;
	}

	@MyAno(before = "执行前", after = "执行后")
	public int divide(int a, int b) {
		return a / b;
	}

	@My("xxxx") // 设置value的属性
	public int muli(int a, int b) {
		return a * b;
	}

	@My(value = "yyyy", other = "xxxxsdfsdfsdfa")
	public int takeaway(int a, int b) {
		return a - b;
	}
}
